package com.yao.mssm.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;

@TableName(value="sys_user")
public class User extends Model<Employee> implements Serializable{
	
	@TableField(exist = false)
	private static final long serialVersionUID = 6169016955853360788L;
	
	private Integer id;

    private String userName;

    private String userNameEn;

    private String account;

    private String password;

    private String sex;

    private String email;

    private String tel;

    private String roleId;

    private String organizId;
    
    private Date createTime;

    private String createUesrId;

    private Date updateTime;

    private String updateUesrId;

    private Integer seq;

    @TableLogic
    private Boolean del;

	@Override
	protected Serializable pkVal() {
		
		return id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserNameEn() {
		return userNameEn;
	}

	public void setUserNameEn(String userNameEn) {
		this.userNameEn = userNameEn;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getOrganizId() {
		return organizId;
	}

	public void setOrganizId(String organizId) {
		this.organizId = organizId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUesrId() {
		return createUesrId;
	}

	public void setCreateUesrId(String createUesrId) {
		this.createUesrId = createUesrId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUesrId() {
		return updateUesrId;
	}

	public void setUpdateUesrId(String updateUesrId) {
		this.updateUesrId = updateUesrId;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Boolean getDel() {
		return del;
	}

	public void setDel(Boolean del) {
		this.del = del;
	}

}
